package com.dc.business.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value = "物品/原料模块Model")
public class Goods implements Serializable {

   @ApiModelProperty(value = "创建时间")
   private Date createTime;

   @ApiModelProperty(value = "创建人id")
   private int createUserId;

   @ApiModelProperty(value = "创建人姓名")
   private String createUserName;

   @ApiModelProperty(value = "物品类型（对应数据字典id）")
   private int fkGoodsTypeId;

   @ApiModelProperty(value = "物品id")
   private int goodsId;

   @ApiModelProperty(value = "物品名称")
   private String goodsName;

   @ApiModelProperty(value = "物品类型名称（冗余）")
   private String goodsTypeName;

   @ApiModelProperty(value = "0删除1存在")
   private int isDeleted;

   @ApiModelProperty(value = "参考价格")
   private String price;

   @ApiModelProperty(value = "备注")
   private String remark;

   @ApiModelProperty(value = "规格型号")
   private String specs;

   @ApiModelProperty(value = "修改时间")
   private Date updateTime;

   @ApiModelProperty(value = "修改人id")
   private int updateUserId;

   @ApiModelProperty(value = "修改人姓名")
   private String updateUserName;

   @ApiModelProperty(value = "版本号")
   private int version;

}
